angular.module("myApp")
.config(function($stateProvider,$urlRouterProvider){
    $urlRouterProvider.otherwise("home");
    $stateProvider.state("home",{
        url : "/home",
        templateUrl : "views/home.html",
        controller : "HomeController"
    }).state("vip",{
        url : "/vip",
        templateUrl : "views/vip.html",
        //controller : "MineController"
    }).state("ershou",{
        url : "/home/ershou",
        templateUrl : "views/home/ershou.html",
        controller : "ershouController"
    }).state("house",{
        url : "/home/house",
        templateUrl : "views/home/house.html",
        controller : "HouseController"
    })
    .state("see_house",{
        url : "/home/see_house",
        templateUrl : "views/home/see_house.html",
    }).state("news_pot",{
        url : "/news_pot",
        templateUrl : "./views/news/news2.html",
       // controller : "NewsController"
    })
})
